<body>
<div class="row">
	<header>
    	
      <div class="logo col_7 col"><?php echo $page_title ?></div><!-- logo col_7 -->
        
      <nav class="col_9 col">
        	<ul>
            	<li><a href="#navigation">navigation 1</a></li>
                <li><a href="#navigation">navigation 2</a></li>
            	<li class="last"><?php echo anchor('post/','发布资源'); ?></li>
            </ul>
        </nav><!-- nav col_9 -->
      <div class="clear"></div><!-- clear -->
    </header>
</div><!-- row -->

<!-- this section shows you most of the styled elements from the general stylesheet -->
<section class="row" id="styled">

    <div class="col col_11">
    <?php foreach ($book_cotent as $row){?>
    <h1 class="book_title"><?php echo $row->book_title ?></h1>
        <article>
        <div class="book_info">
        <div class="cover"></div>
        <ul class="list">
        <li><span>出版日期：</span></li>
        <li><span>作者：</span><?php echo $row->book_author ?></li>
        <li><span>日期：</span><?php echo $row->book_language ?></li>
        </ul>
        </div>
        <h5>书籍简介</h5>
        	<div class="book_summary"><?php echo $row->book_summary?></div>
        </article>
        <?php } ?>
        <!-- -->
        <h2>Comments</h2>
        <ul class="comments">
        <?php foreach ($get_comments as $row){?>
        	<li><span class="comment_information">posted by <b>Angel Grablev</b> on <i>03.17.2010</i> at <i>12:32 am</i></span>
            	<p><?php echo $row->comment_content ?></p>
            </li><!-- -->
            <?php } ?>
        </ul><!-- comments -->
       <?php 
       $attributes = array('class' => 'col_8 add_comment', 'id' => 'myform');
       $hidden = array('user_id' => '2', 'member_id' => '234');
       echo form_open('index/comment_ok',$attributes,$hidden); ?>
    	<fieldset>	
        	<legend>Add your comment:</legend>
            <div>
            	<label for="email">email</label>
                <input type="email" id="email" class="box_shadow" name="email" />
            </div>
            <div>
            	<label for="name">author</label>
                <input type="text" id="name" class="box_shadow" name="author" />
            </div>
            <div class="textarea">
            	<label for="comment">comment</label>
                <textarea id="comment" class="box_shadow" rows="5" cols="55" name="comment_content"></textarea>
            </div>
            <input type="submit" value="添加评论 &rarr;" name="submit" />
            <input type="hidden" name="book_id" value="<?php echo $this->uri->segment(3) ?>" />
        </fieldset>
    </form>
    
    <div class="clear"></div>
    </div><!-- col_11 -->
  <div class="col col_5">
            <h2>Recent Articles</h2>
            <ul class="recent">
                <li><a href="article.html" title="Making a jQuery infinite carousel with nice features">Making a jQuery infinite carousel with nice features</a></li>
                <li><a href="article.html" title="Making a jQuery pagination system">Making a jQuery pagination system</a></li>
                <li><a href="article.html" title="Create an AMAZING contact form with no ready made plugins.">Create an AMAZING contact form with no ready made plugins.</a></li>
                <li><a href="article.html" title="Making an infinite JQuery carousel">Making an infinite JQuery carousel</a></li>
                <li><a href="article.html" title="Top 6 Ugliest Web Design Company Websites">Top 6 Ugliest Web Design Company Websites</a></li>
                <li><a href="article.html" title="How to make a completely reusable jquery modal window">How to make a completely reusable jquery modal window</a></li>
                <li><a href="article.html" title="Checking username availability with ajax using jQuery">Checking username availability with ajax using jQuery</a></li>
            </ul>	
    </div><!-- col_5 -->
</section><!-- row -->